package com.chapter6.lianxi.demo1;

import com.chapter6.jiekou.demo5.Cpu;
import com.chapter6.jiekou.demo5.GraphicsCard;

public class Produce extends Build{


    public Produce(int HP) {
        super(HP);
    }


    private Population population;

    public Population getPopulation() {
        return population;
    }

    public void setPopulation(Population population) {
        this.population = population;
    }

    @Override
    public void buildPopulation(Population population) {
        population.attack();
    }



}
